import request from './request'

export const getList = (params) => {
  return request.get('/zxch/carJournal/app/list',params)
}

export const add = (params) => {
  return request.post('/zxch/carJournal/app',params)
}

export const getInfo = (id) => {
  return request.get(`/zxch/carJournal/app/${id}`)
}

export const del = (ids) => {
  return request.delete(`/zxch/carJournal/app/${ids}`)
}

export const revoke = (id) => {
  return request.put(`/zxch/carJournal/app/revoke/${id}`)
}
